02. Scripting a Simple Rotation

Scripting a Simple Rotation

Course Asset

Video Addendum

At 0:15 minutes into the video

When the instructor rotates the Sun with the Rotate tool:

  • The instructor has the Gizmo handle position for the Gizmo rotation set to Local.
  • If you notice that all Rotation values X, Y, and Z are changing in the Inspector window as you rotate the Sun, your Gizmo handle position for the Gizmo rotation is set to Global.
  • You can toggle the Gizmo handle position for the Gizmo rotation by clicking the Global/Local button in the Toolbar.

Additional Reading

Project Preview: Door needs to be animated by code.